package com.fh.shop.admin.biz.book;

import com.fh.shop.admin.common.ServerResponse;
import com.fh.shop.admin.po.book.Book;
import com.fh.shop.admin.common.DataTableResult;
import com.fh.shop.admin.param.book.BookQueryParam;

public interface IBookService {
    ServerResponse addBook(Book book);

    DataTableResult findBookList(BookQueryParam bookQueryParam);

    ServerResponse findBook(Long id);

    ServerResponse updateBook(Book book);

    ServerResponse deleteBook(Long id);

    ServerResponse deleteBatchBook(String ids);
}
